﻿<%@ Page Language="C#" MasterPageFile="~/Member/UserManage.master" EnableEventValidation="false"
    AutoEventWireup="true" CodeFile="M_SelectAd.aspx.cs" Inherits="M_SelectAd" Title="管理自定义分类" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContInfo" runat="server">
 <div class="inkg mar_top">
    <strong class="inkgt">
        查询广告信息</strong>
    <div class="intab mar_top" id="intab">
      <ul>
        <li class="intabt2"> 所有广告</li>
      </ul>
        <div class="intabc" id="intabc">
            <div class="con" style="display: block">
                        <table cellpadding="0" cellspacing="0" border="0" class="edtb">
                            <thead>
                                <tr>
                                    <td id="xh" align="center" width="70">
                                        <strong>广告名称</strong>
                                    </td>
                                    <td align="center" width="70">
                                        <strong>广告类型</strong>
                                    </td>
                                    <td align="center" width="70">
                                        <strong>广告价格</strong>
                                    </td>
                                    <td align="center" width="70">
                                        <strong>广告规格</strong>
                                    </td>
                                    <td align="center" width="100">
                                        <strong>广告投放天数</strong>
                                    </td>
                                    <td align="center" width="100">
                                        <strong>是否通过审核</strong>
                                    </td>
                                    <td align="center" width="100">
                                        <strong>广告链接地址</strong>
                                    </td>
                                    <td align="center" >
                                        <strong>广告图片链接地址</strong>
                                    </td>
                                    <td align="center" width="50">
                                        <strong>编辑</strong>
                                    </td>
                                </tr>
                            </thead>
                            <tbody>
    <asp:Repeater ID="Repeater1" runat="server" OnItemCommand="Repeater1_ItemCommand">
      <itemtemplate>
        <tr>
          <td width="70" >
              <asp:Label runat="server" ID="lb_name" Text='<%#Eval("Ad_Name")%>'></asp:Label></td>
          <td  width="70">
              <asp:Label runat="server" ID="lb_Type" Text='<%#Eval("Ad_Type")%>'></asp:Label>
              <asp:Label runat="server" ID="Lb_mid" Text='<%#Eval("M_ID")%>' Visible="false"></asp:Label>
          </td>
          <td width="70">
              <asp:Label ID="lb_money" runat="server" Text='<%#Eval("DayMoney","{0:c}")%>'></asp:Label></td>
          <td width="70">
              <asp:Label ID="lb_wh" runat="server" Text='<%#Eval("Ad_Width")%>'></asp:Label>
            <asp:Label ID="Label2" runat="server" Text="×"></asp:Label>
            <asp:Label ID="Label1" runat="server" Text='<%#Eval("Ad_Height")%>'></asp:Label></td>
								
          <td width="100">
              <asp:Label ID="lb_Day" runat="server" Text='<%#Eval("Ad_Day")%>'></asp:Label></td>
          <td width="100">
              <asp:Label ID="lb_No" runat="server" Text='<%#Eval("Ad_Auditing")%>'></asp:Label></td>
								
          <td width="100">
              <asp:Label ID="lb_adrees" runat="server" Text='<%#Eval("Ad_Adrees")%>'></asp:Label></td>
          <td >
              <asp:Label ID="lb_ImageAdrees" runat="server" Text='<%#Eval("Ad_ImageAdrees")%>'></asp:Label></td>
		  <td width="50"><asp:LinkButton runat="server" Text="编辑" ID="Button5" CommandName="edit" ></asp:LinkButton></td>
		
        </tr>
      </itemtemplate>
    </asp:Repeater>
                        </tbody>
                        <tfoot>
                            <tr>
                                <td colspan="9">
                                    <p class="zi2">
                                         总记录数：
        <asp:Label ID="txt_pageCount" runat="server"></asp:Label>
      页码：
      <asp:Label ID="txt_begin" runat="server"></asp:Label>
      /
      <asp:Label ID="txt_pageAll" runat="server"></asp:Label>
      <asp:LinkButton ID="btn_pageFirst" runat="server" OnClick="btn_pageFirst_Click">首页</asp:LinkButton>
      <asp:LinkButton ID="btn_pageLast" runat="server" OnClick="btn_pageLast_Click">上一页</asp:LinkButton>
      <asp:LinkButton ID="btn_pageNext" runat="server" OnClick="btn_pageNext_Click">下一页</asp:LinkButton>
      <asp:LinkButton ID="btn_pageFoot" runat="server" OnClick="btn_pageFoot_Click">末页</asp:LinkButton>
      <asp:TextBox ID="txt_PageNum" runat="server" Width="30px"></asp:TextBox>
      <asp:LinkButton ID="btn_go" runat="server" OnClick="btn_go_Click">GO</asp:LinkButton>
                                    </p>
                                </td>
                            </tr>
                        </tfoot>
                        </table>
   </div>
    </div>
  </div>
  </div>
</asp:Content>
